#include "Soc_test.h"
int main(){
    int a = -7;
    int b = -8;
    int c = 9;
    uint32_t d = 10;
    uint32_t f = 11;
    if(a * b != 56) {
        goto bad;
    }
    else    asm(LOG_TRAP);
    if (a * c != -63)
    {
            goto bad;
    }
    else    asm(LOG_TRAP);
    if(d * f != 110){
        goto bad;
    }
    else    asm(LOG_TRAP);
    uint32_t u_e = 197;
    uint32_t u_f = 23;
    uint32_t u_g = u_e / u_f;
    uint32_t u_h = u_e % u_f;
    if(u_g != 8 || u_h != 13){
        goto bad;
    }
    else
        asm(LOG_TRAP);
    int s_e = -234;
    int s_f = 89;
    int s_g = s_e / s_f;
    int s_h = s_e % s_f;
    if(s_g != -2 && s_f != -56){
        goto bad;
    }
    else
        asm(GOOD_TRAP);
    goto good;
bad:
    asm(BAD_TRAP);
good:
    asm(GOOD_TRAP);
}